l = []
while True:
    a = int(input('请输入数字：'))
    if a % 2 == 0:
        l.append(a)
        if len(l) >= 3:
            break
print(l)
